home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PCGUIA 127
/
PC Guia 127.iso
/
Software
/
Utils
/
NEW - Stylish
/
Bin
/
stylish-0.2.1-fx+fl+tb.xpi
/
chrome
/
stylish.jar
/
content
/
stylish.xul
< prev
next >
Wrap
Extensible Markup Language
|
2005-12-28
|
4KB
|
107 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://stylish/skin/" type="text/css"?>
<!--
This code is licensed under the GPL (http://www.gnu.org/copyleft/gpl.txt)
Author: Jason Barnabe <jason_barnabe@fastmail.fm>
-->
<!DOCTYPE dialog [
<!ENTITY % stylish SYSTEM "chrome://stylish/locale/stylish.dtd">
<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
%stylish;
%brandDTD;
]>
<dialog
id="stylish-window"
title="&stylish.managewindow.title;"
orient="vertical"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:stylish="urn:stylish"
buttons="accept"
onload="stylish.manageInit()"
windowtype="stylish"
persist="screenX screenY width height">
<script type="application/javascript" src="rdfds.js"/>
<script type="application/javascript" src="stylishCommon.js"/>
<script type="application/javascript" src="stylish.js"/>
<stringbundle id="strings" src="chrome://stylish/locale/stylish.properties"/>
<description>
&stylish.managewindow.info;
</description>
<hbox flex="1">
<tree id="styles" flex="1" datasources="rdf:null" ref="urn:stylish:userstyles" onselect="stylish.changeSelection()" onkeypress="stylish.styleListKeyPress(event)" editable="true">
<treecols>
<treecol id="description-label" label="&stylish.description;" flex="1" persist="width ordinal hidden" sortActive="true"/>
<splitter class="tree-splitter"/>
<treecol id="enabled-label" label="&stylish.enabled;" persist="width ordinal hidden" type="checkbox" editable="true"/>
<splitter class="tree-splitter"/>
<treecol id="code-label" label="&stylish.code;" flex="3" hidden="true" persist="width ordinal hidden"/>
</treecols>
<template>
<rule>
<treechildren ondblclick="stylish.handleStyleListDoubleClick(event)" onclick="stylish.handleStyleListClick(event)">
<treeitem uri="rdf:*">
<treerow>
<treecell label="rdf:urn:stylish#description"/>
<treecell value="rdf:urn:stylish#enabled" editable="true"/>
<treecell label="rdf:urn:stylish#code"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
</tree>
<!--
<tree id="styles" flex="1" datasources="rdf:null" ref="urn:stylish:userstyles" onselect="stylish.changeSelection()" onkeypress="stylish.styleListKeyPress(event)" ondblclick="stylish.handleStyleListDoubleClick(event)" flags="dont-build-conten" editable="true">
<treecols>
<treecol id="description-label" label="&stylish.description;" flex="1" persist="width ordinal hidden sortActive sortDirection" sortActive="true" sort="rdf:urn:stylish#description" sortDirection="ascending" class="sortDirectionIndicator"
/>
<splitter class="tree-splitter"/>
<treecol id="enabled-label" label="&stylish.enabled;" persist="width ordinal hidden sortActive sortDirection" type="checkbox" editable="true" sort="rdf:urn:stylish#enabled" class="sortDirectionIndicator"/>
<splitter class="tree-splitter"/>
<treecol id="code-label" label="&stylish.code;" flex="3" hidden="true" persist="width ordinal hidden sortActive sortDirection" sort="rdf:urn:stylish#code" class="sortDirectionIndicator"/>
</treecols>
<template>
<rule>
<treechildren>
<treeitem uri="rdf:*">
<treerow>
<treecell label="rdf:urn:stylish#description"/>
<treecell value="rdf:urn:stylish#enabled" editable="true"/>
<treecell label="rdf:urn:stylish#code"/>
</treerow>
</treeitem>
</treechildren>
</rule>
</template>
</tree>
-->
<vbox>
<button id="add" label="&stylish.add;" oncommand="stylish.openAdd()"/>
<button id="edit" label="&stylish.edit;" oncommand="stylish.handleEditButtonClick()" disabled="true"/>
<button id="disable" label="&stylish.toggleenabled;" oncommand="stylish.handleEnableButtonClick()" disabled="true"/>
<separator/>
<button id="delete" label="&stylish.delete;" oncommand="stylish.deleteStyle()" disabled="true"/>
</vbox>
</hbox>
</dialog>